 function GM:DrawNames()

 /*for k, v, pl in pairs( player.GetAll() )
     // render their name (pl:Name())
   end
 end
 */
	//playertable = {} 
/*	m = {"1","2","3","4"}
  for k,v in pairs( player.GetAll() ) do 
  playertable[i] = {} 
  playertable[i].Name = m:Name() 
  end
  */
	//Player Names
	
	//local player_1 = player.GetByID(1)
	
	// Health Bars for Players
	
	//local pHealth1 = player_1:Health( );  
	
	
	//Msg( player_1:Nick() .. "\n") 
	Client = LocalPlayer()
	
	local TopX = 10
	local TopY = ScrH() - 20
	local TopXHp = 23
	
 	local hp = Client:Health()
	local hp3 = hp * 1.5
	
 	local vpos = LocalPlayer():GetPos()
	
	local ppos = vpos:ToScreen()
	
	
	//if ( player.GetByID(1) ) then
	for _, pl in pairs( player.GetAll() ) do
	
  surface.SetDrawColor( 0, 150, 150, 255 )	
  draw.DrawText(pl:Name() .. "\n" , "ScoreboardText", ppos.x, ppos.y, color_white,1)
  end
  //surface.DrawRect( ppos.x, ppos.y, 15, 15 )
  //surface.SetDrawColor( 0, 150, 150, 255 )
  for Xvar = 0, hp3 do
	draw.RoundedBox( 1, ppos.x - 70 + Xvar, ppos.y + 15 , 2, 14, Color(200, 0, 50, 150))
	end
 end
  
 //hook.Add( "HUDPaint", "namedrawing", DrawNames ) 